/**
* CPG Dragonfly CMS
* Copyright (c) 2004-2005 by CPG-Nuke Dev Team, dragonflycms.org
* Released under the GNU GPL version 2 or any later version
*/

nav.main,
nav.main ul ul {
	background-color: #666;
	background-image: -webkit-linear-gradient(top, #999 0%, #333 100%);
	background-image: linear-gradient(#999, #333);
}
nav.main {
	position:relative;
	z-index:9999999;
/*	z-index:2147483647; */
}
nav.main * {
	color:#FFF;
	text-shadow: 1px 1px 1px #000;
}
nav.main ul {
	margin:0;
	padding:0;
}

nav.main > ul {
	border-left:1px solid #999;
	border-right:1px solid #000;
}

nav.main li {
	border:1px solid #000;
	border-top-color:#999;
	border-left-color:#999;
	display:inline-block;
	line-height: 200%;
	margin:0;
	padding:0 10px;
	position:relative;
	vertical-align: top;
	white-space: nowrap;
}
nav.main li a {
	text-decoration:none;
}

nav.main li.home {
	margin-left:-9px;
}
nav.main li.home a {
	background:url(../images/16x16/home.png) no-repeat center center;
	overflow:hidden;
	text-indent:30px;
	width:18px;
}

nav.main li.user {
	border-right:0;
	overflow:hidden;
	width:16px;
	z-index:9999999;
}
nav.main li.user > div {
	background:url(../images/16x16/user-identity.png) no-repeat 0 center;
}
nav.main li.user > div > span {
	margin-left:30px;
}
nav.main li.user:hover {
	overflow:inherit;
	width:auto;
}
nav.main li.user:hover > div > span {
	margin-left:20px;
}

nav.main ul ul {
	border-radius:0 0 3px 3px;
	display:none;
	left:-2px;
	position:absolute;
	z-index: 1;
}
nav.main ul li:hover ul {
	display:block;
}

nav.main ul li:hover {
	background-color: #333;
	background-image: -webkit-linear-gradient(top, #666 0%, #000 100%);
	background-image: linear-gradient(#666, #000);
	border-radius:0 0 3px 3px;
}
nav.main > ul > li:hover {
	border-color:#666;
	border-top-color: #333;
	border-left-color: #333;
}

nav.main ul ul li,
nav.main a {
	display:block;
}
nav.main ul ul li {
	border:0;
	border-top:1px solid #666;
	border-top-color:rgba(255,255,255,0.2);
}
